// 导入所需组件
import Login from './pages/Login/index.tsx'
import Home from './pages/Home/index.tsx'
import Info from './pages/Info/index.tsx'
// 导入路由依赖
import {createBrowserRouter } from 'react-router-dom'

export default createBrowserRouter([
    {
        path: "/",
        element: <Login />,
    },
    {
        path: "/home",
        element: <Home />,
        children:[
            {
                path: "/home/info",
                element: <Info />,
            }
        ]
    },
]);
  